package com.my.chapter5;

public class practice19 {
    public static void main(String[] args) {
        print("A","B","C");
        print(new String[]{"1","2","3"});
    }
    static void print(String... str){
        for(String s:str){
            System.out.print(s+" ");
        }
        System.out.println("");
    }
}
